package test.test6_18;

public class Demo6 {
    //mark 标记
    //xxx:  就是标号，只要是合法的标识符即可
    public static void main(String[] args) {
        Onter:
        for (int i = 0; i < 4; i++) {
            Inner:
            System.out.println("i = " + i);
            for (int j = 0; j < 10; j++) {
                System.out.println("j = " + j);
                if( j == 8) {
                    break Onter;
                }
            }
        }
    }
}
